<template>
    <div>
        <button @click="getInfo" >getInfo</button>
    </div>
</template>

<script>
    import axios from 'axios'
    export default {
        name:"App",
        methods:{
            getInfo(){
                axios.get('http://localhost:8080/cnblogs/dynasty/ajax/comments-block?postId=254733&anchorCommentId=0&isDesc=false&order=NaN&loadCommentBox=true')
                .then(
                    response => {
                        console.log("success", response.data)
                    },
                    error => {
                        console.log("error", error.message)
                    }
                )
            }
        }
    }
</script>
